package com.pcbly.web.bean.crm;
 

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import com.pcbly.web.bean.AbstractBaseBean;

/**
 * 刷卡Pos机设定
 * @author liyt
 *
 */
public class PosTypeBean  extends AbstractBaseBean{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -4774497648699458872L;
	private String name;         //名称
	private String type;         //类型（1:固定金额，2:固定扣款率，3:固定扣款率(封顶)）
	private double mbfy;         //每笔费用
	private double fl;           //费率
	private double fdfy;         //封顶费用
	private String accountId;   //对应账记编号
	private String remark;       //备注
	private String czr;          //操作人
//	private Date czDate;        //操作时间
	 
	public String getCzr() {
		return czr;
	}
	public void setCzr(String czr) {
		this.czr = czr;
	}
	public double getFdfy() {
		return fdfy;
	}
	public void setFdfy(double fdfy) {
		this.fdfy = fdfy;
	}
	public double getFl() {
		return fl;
	}
	public void setFl(double fl) {
		this.fl = fl;
	}
	public double getMbfy() {
		return mbfy;
	}
	public void setMbfy(double mbfy) {
		this.mbfy = mbfy;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	} 
	 
	/**
	 * @see java.lang.Object#equals(Object)
	 */
	public boolean equals(Object object) {
		return EqualsBuilder.reflectionEquals(this, object);
	}

	/**
	 * @see java.lang.Object#hashCode()
	 */
	public int hashCode() {
		return HashCodeBuilder.reflectionHashCode(this);
	}

	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}
	public void setAccountId(String accountId) {
		this.accountId = accountId;
	}
	public String getAccountId() {
		return accountId;
	}
}
